package com.snails.app.base.mvp;

import android.os.Bundle;

import androidx.annotation.Nullable;
import androidx.annotation.StringRes;

/**
 * M,V,P都要继承的抽象方法
 *
 * @author lawrence
 * @date 2019-04-28 22:47
 */
public interface BaseAbstract {

    void onCompleted(@Nullable Bundle bundle);

    void showLoading();

    void showLoading(String message);

    void closeLoading();

    void showToast(String message);

    void showToast(@StringRes int resId);
}
